
'use strict';

var _kit = require('kit/kit.js');

var _cart = {
  getCartCount : function(resolve,reject){
    _kit.request({
      url     : _kit.getServerUrl('/cart/get_cart_product_count.do'),
      method  : 'POST',
      success : resolve,
      error   : reject
    });
  }
};

module.exports = _cart;
